package cn.kgc.springboot1048.spring_vue2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author szz
 * @since 2024-04-10
 */
@Getter
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Housetype implements Serializable {



    /**
     * 户型编号
     */
    @TableId(value = "typeId", type = IdType.AUTO)
    private Long typeId;

    /**
     * 户型名
     */
    @TableField("typeName")
    private String typeName;

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Housetype(Long typeId, String typeName) {
        this.typeId = typeId;
        this.typeName = typeName;
    }
}
